﻿using Models;

namespace IBLL
{
    /// <summary>
    /// 会员操作接口
    /// </summary>
    public interface IMemberBLL
    {
        Task<int> AddMember(Member member);
        /// <summary>
        /// 根据会员编号删除
        /// </summary>
        /// <param name="id">会员编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteMember(int id);

        Task<int> UpdateMember(Member member);

        List<Member> GetAllMembers();

    }
}
